package com.aaa.javaweb.until;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author yuyongli
 * @Date 2020/11/24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class PageInfo<T> implements Serializable {
    private Integer code = 0;
    private String msg = "";
    private Long count;
    private List<T> data;
    private String params;
    private Integer page;
    private Integer limit;
}
 